package rs.udd.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import rs.udd.model.Advertiser;
import rs.udd.model.AdvertiserAgentContact;
import rs.udd.model.Agent;

@Repository
public interface AdvertiserAgentContactRepository extends JpaRepository<AdvertiserAgentContact, Long> {

	public AdvertiserAgentContact findByAdvertiserAndAgent(Advertiser advertiser, Agent agent);
	
}
